package com.qijian.tool.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qijian.tool.domain.Msg;
import com.qijian.tool.domain.query.MsgQuery;
import com.qijian.tool.domain.vo.MsgVo;

import java.util.Collection;

/**
 * 我的信息Service接口
 *
 * @author qijian
 * @date 2022-06-06
 */
public interface IMsgService extends IService<Msg> {

    Page<MsgVo> pageVo(Page<MsgVo> page, QueryWrapper<MsgQuery> queryWrapper);


    public boolean save(Msg entity, boolean sendToWx, boolean isFlow);

    public boolean saveBatch(Collection<Msg> entityList, boolean sendToWx, boolean isFlow);


    String rePush2APP(Long id);
}
